function fun1() {
}

var fun2 = function(node) {
   doSomeStuff(node);
};

function fun3(p1, p2) {
   function fun3_inner1() {}
   var fun3_inner2 = function(arg) {}
}

var fcall = (function (arg) { return arg * 2; })(666);

function fun4() {

    function fun4_inner1() {
       function fun4_inner11() {}

       var fun4_inner12 = function() {}
    }

    function fun4_inner2(a,b,c) {
      return a * b + c;
    }

    function fun4_inner3() {
      return function() {}
    }

    var a = 2, b = ++a, fun4_inner4 = function() {}, reg = /\d+/g;
}

var fun5;
fun5 = function() {
  doSomething();
  return true;
}

var fun6 = null;
var fun7 = fun6 = function(n) { return n*n; }

